package com.yc.sakuralxm.uestcscanning.activity

import android.graphics.BitmapFactory
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.widget.ImageView

import com.yc.sakuralxm.uestcscanning.R
import com.yc.sakuralxm.uestcscanning.tools.IntentUtil

class BigActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_big)
        val imageView = findViewById(R.id.Img) as ImageView
        imageView.setImageBitmap(BitmapFactory.decodeFile(IntentUtil.getSerExtra(intent, String::class.java)))
    }
}
